package com.mingzhi.order.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "order")
@Data
public class OrderProperties {

    // 订单超时时间
    private String timeout;

    // 订单自动确认收货时间
    private String autoConfirm;

    // 数据库连接地址
    private String dbUrl;
}
